package com.spic.business.blast.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;

import java.time.LocalDate;
import java.time.LocalDateTime;

/**
 * WeightData
 *
 * @author xuxiaochang@chinasofi.com
 * @date 2022/6/13
 */
@TableName("blast_weight_sync")
public class WeightData
{
    /**
     * 称重日期
     */
    @JsonFormat(pattern = "yyyy-MM-dd")
    private LocalDate czDate;

    /**
     * 称重时间2
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime czTime1;

    /**
     * 称重时间2
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime czTime2;

    /**
     * 磅单号
     */
    private String  czNo;

    /**
     * 车牌号
     */
    private String carNo;

    /**
     * 品名
     */
    private String pm;

    /**
     * 毛重
     */
    private String grossWeight;

    /**
     * 皮重
     */
    private String tareWeight;

    /**
     * 淨重
     */
    private String weight;

    /**
     * 單位
     */
    private String unit;

    /**
     * 序号
     */
    @TableId
    private String seriesNo;

    /**
     * 是否完成 是，否
     */
    private String status;

    public LocalDate getCzDate()
    {
        return czDate;
    }

    public void setCzDate(LocalDate czDate)
    {
        this.czDate = czDate;
    }

    public LocalDateTime getCzTime1()
    {
        return czTime1;
    }

    public void setCzTime1(LocalDateTime czTime1)
    {
        this.czTime1 = czTime1;
    }

    public LocalDateTime getCzTime2()
    {
        return czTime2;
    }

    public void setCzTime2(LocalDateTime czTime2)
    {
        this.czTime2 = czTime2;
    }

    public String getCzNo()
    {
        return czNo;
    }

    public void setCzNo(String czNo)
    {
        this.czNo = czNo;
    }

    public String getCarNo()
    {
        return carNo;
    }

    public void setCarNo(String carNo)
    {
        this.carNo = carNo;
    }

    public String getPm()
    {
        return pm;
    }

    public void setPm(String pm)
    {
        this.pm = pm;
    }

    public String getGrossWeight()
    {
        return grossWeight;
    }

    public void setGrossWeight(String grossWeight)
    {
        this.grossWeight = grossWeight;
    }

    public String getTareWeight()
    {
        return tareWeight;
    }

    public void setTareWeight(String tareWeight)
    {
        this.tareWeight = tareWeight;
    }

    public String getWeight()
    {
        return weight;
    }

    public void setWeight(String weight)
    {
        this.weight = weight;
    }

    public String getUnit()
    {
        return unit;
    }

    public void setUnit(String unit)
    {
        this.unit = unit;
    }

    public String getSeriesNo()
    {
        return seriesNo;
    }

    public void setSeriesNo(String seriesNo)
    {
        this.seriesNo = seriesNo;
    }

    public String getStatus()
    {
        return status;
    }

    public void setStatus(String status)
    {
        this.status = status;
    }
}
